<template>
  <h5>父组件</h5>
  <div class="box">
    <GlobalComponent />
    <LocalComponent />
  </div>
</template>

<script setup>
import LocalComponent from './LocalComponent.vue'
</script>

<style scoped>
h5 {
  border: 1px dotted black;
}

.box {
  display: flex;
}

:deep(.title) {
  border: 3px dotted black;
}
</style>
 